package com.xiao.server.impl;

import com.xiao.dao.HouseMappe;
import com.xiao.pojo.House_resources;
import com.xiao.server.HouseServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HouseServerImpl implements HouseServer {

    @Autowired
    private HouseMappe houseMappe;

    @Override//查询所有房源
    public List<House_resources> query_houseAll() {
        return houseMappe.selectList(null);
    }

    @Override//根据房东ID查询房东的房源
    public List<House_resources> query_houseByID() {
        return null;
    }
}
